export default {
  //被acctions.js中的方法触发，更新state.js中的cartCount的值
  addCart (state, payload) {
    state.cartCount = payload.count
  }
}